import api from '../utils/api';

export async function queryList(param) {
  return api.post('/using/queryList', {
    data: JSON.stringify(param),
  });
}

export async function create(param) {
  return api.post('/using/create', {
    data: JSON.stringify(param),
  });
}

export async function remove(param) {
  return api.post('/using/remove', {
    data: JSON.stringify(param),
  });
}

export async function edit(param) {
  return api.post('/using/edit', {
    data: JSON.stringify(param),
  });
}

export async function qryById(param) {
  return api.post('/using/qryById', {
    data: JSON.stringify(param),
  });
}

export async function doDistribution(param) {
  return api.post('/using/distribution', {
    data: JSON.stringify(param),
  });
}


